﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetFrameworkExtensions.Collections
{
  [Serializable]
  public class PageFilter
  {
    public PageFilter()
    {
    }

    public PageFilter(int pageIndex)
    {
      PageIndex = pageIndex;
    }

    public PageFilter(int pageIndex, int pageSize)
    {
      PageIndex = pageIndex;
      PageSize = pageSize;
    }

    public int? PageSize { get; set; }

    public int? PageIndex { get; set; }
  }
}
